---
title: "scan input · RUAL Documentation"
description: "Will be autofocused on keydown if no input is given. Executes the connected function on enter or if the given length is reached"
canonical: https://docs.rual.nl/block-types/Component UI/component_input_scan
language: en
---

# scan input

This block is part of the [`Component UI`](https://docs.rual.nl/block-types/Component%20UI) group and was last modified in core [`v10.4.7`](https://docs.rual.nl/core-versions/100407).

Will be autofocused on keydown if no input is given. Executes the connected function on enter or if the given length is reached

- Field `co-fields` required `fielddefinitions`

- Validate `co-validate` `fieldvalidation`

- Event `co-inputevent` `inputevent`

- On Scan `onscan` `inpinfunction`

- uicomponent `uicomponent`

### Core Releases
